package cn.sofwin.day0116.homework;

import java.util.Scanner;

public class Age {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] stage = {"儿童","少年","青少年","青年","壮年","中年","中老年","老年","老老年","老老老年"};


        System.out.println("请输入年龄：");
        int age = sc.nextInt();
        System.out.println("年龄段为");
        System.out.println(stage[age/10]);
    }
}
